package com.china08.yxyapi.entity.mg.mistakes;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 
 * 错题本, 教师个人中心,主要记录教师上传选择的 教材版本目录.
 * 
 * @author Richard Wang
 *
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.mistakes.tea.center")
public class TeaCenterMistakes extends MongoBaseEntityNoId {

    /**
     * 主键 教师ID+schoolId example 394344343_334234324
     */
    @Id
    private String id;

    /**
     * 教师id
     */
    @Indexed
    @Field(value = "teacher_id")
    private String teacherId;

    /** 学校id */
    @Indexed
    @Field(value = "school_id")
    private String schoolId;

    /** 学段 */
    @Field(value = "stage")
    private String stage;

    /** 学段 */
    @Field(value = "stage_name")
    private String stageName;

    /** 学科 */
    @Field(value = "subject")
    private String subject;

    /** 学科 */
    @Field(value = "subject_name")
    private String subjectName;

    /**
     * 版本
     */
    @Field(value = "version")
    private String version;

    /**
     * 版本
     */
    @Field(value = "version_name")
    private String versionName;

    /**
     * 册别
     */
    @Field(value = "book_id")
    private String bookId;

    @Field(value = "book_name")
    private String bookName;

    /**
     * 章节id
     */
    @Field(value = "book_content")
    private String bookContent;

    @Field(value = "book_content_name")
    private String bookContentName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookContent() {
        return bookContent;
    }

    public void setBookContent(String bookContent) {
        this.bookContent = bookContent;
    }

    public String getBookContentName() {
        return bookContentName;
    }

    public void setBookContentName(String bookContentName) {
        this.bookContentName = bookContentName;
    }

}
